package org.lzy.shop.viewmodel.repository

import org.lzy.shop.datas.SubmitOrderNewRequest
import org.lzy.shop.response.ConifimOrderResponse
import org.lzy.shop.response.SubmitOrderSuccessResponse

interface SubmitOrderRepository {
    /**
     * 获取确认订单信息
     */
    suspend fun confirmOrder(): ConifimOrderResponse?

    /**
     * 提交订单
     */
    suspend fun createOrder(request: SubmitOrderNewRequest): SubmitOrderSuccessResponse?
}